package cn.edu.bitc;

public class Java_08 {
    public static void main(String[] args) {

        //掌握关系运算符的基本使用
        int a = 10;
        int b = 5;
        boolean rs = a > b;
        System.out.println(rs);
        System.out.println(a >= b);
        System.out.println(2 >= 2);
        System.out.println((a < b));
        System.out.println(a <= b);
        System.out.println(2 <= 2);
        System.out.println(a == b);
        System.out.println(5 == 5);

        //注意：判断是否相等一定是用==，=是用来赋值的
        System.out.println(a != b);
        System.out.println(10 != 10);

        System.out.println(false ^ true ^ true);


    }
}
